package com.authine.cloudpivot.web.api.dao;

import com.authine.cloudpivot.web.Utils.MyMapper;
import com.authine.cloudpivot.web.api.vo.AtsMapModel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface PortalMapper extends MyMapper<AtsMapModel> {

    List<Map<String, String>> getPortalPower(@Param("list") List<String> roleIds);

    Map<String, String> getParentId(@Param("code") String code);

    String getWorkflowName(@Param("code") String code);

    List<String> getWorkFlowPower(@Param("list") List<String> roleIds);
}